package com.pic.mgt.monitor;

import com.pic.mgt.monitor.parser.FormatParser;

public abstract class BusinessUnitFactory implements UnitFactory {
	protected FormatParser businessTypeParser;
	
	public static String APPINTED_HAISHIN;
	public static String GENERAL_HAISHIN;
	public static String REAL_SYUSHIN;
	public static String BATCH_SYUSHIN;
	
	public BusinessUnitFactory(String appintedHaishinTypeStr,
			  				   String generalHaishinTypeStr,
			  				   String realSyushinTypeStr,
							   String batchSyushinTypeStr) {
		APPINTED_HAISHIN = appintedHaishinTypeStr;
		GENERAL_HAISHIN = generalHaishinTypeStr;
		REAL_SYUSHIN = realSyushinTypeStr;
		BATCH_SYUSHIN = batchSyushinTypeStr;
	}
	
	// --- getter and setter ---
	
	public void setBusinessTypeParser(FormatParser businessTypeParser) {
		this.businessTypeParser = businessTypeParser;
	}
}
